Optimal. Leaf size=240 \[ -\frac {d \left (3 b^2 c^2-100 a b c d+105 a^2 d^2\right ) \sqrt {a+b x}}{24 a c^4 \sqrt {c+d x}}-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}}-\frac {7 (b c-a d) \sqrt {a+b x}}{12 c^2 x^2 \sqrt {c+d x}}-\frac {(3 b c-35 a d) (b c-a d) \sqrt {a+b x}}{24 a c^3 x \sqrt {c+d x}}+\frac {(b c-a d) \left (b^2 c^2+10 a b c d-35 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{8 a^{3/2} c^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 240, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {100, 156, 157,
12, 95, 214} \begin {gather*} -\frac {d \sqrt {a+b x} \left (105 a^2 d^2-100 a b c d+3 b^2 c^2\right )}{24 a c^4 \sqrt {c+d x}}+\frac {(b c-a d) \left (-35 a^2 d^2+10 a b c d+b^2 c^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{8 a^{3/2} c^{9/2}}-\frac {\sqrt {a+b x} (3 b c-35 a d) (b c-a d)}{24 a c^3 x \sqrt {c+d x}}-\frac {7 \sqrt {a+b x} (b c-a d)}{12 c^2 x^2 \sqrt {c+d x}}-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 95
Rule 100
Rule 156
Rule 157
Rule 214
Rubi steps
\begin {align*} \int \frac {(a+b x)^{3/2}}{x^4 (c+d x)^{3/2}} \, dx &=-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}}-\frac {\int \frac {-\frac {7}{2} a (b c-a d)-3 b (b c-a d) x}{x^3 \sqrt {a+b x} (c+d x)^{3/2}} \, dx}{3 c}\\ &=-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}}-\frac {7 (b c-a d) \sqrt {a+b x}}{12 c^2 x^2 \sqrt {c+d x}}+\frac {\int \frac {\frac {1}{4} a (3 b c-35 a d) (b c-a d)-7 a b d (b c-a d) x}{x^2 \sqrt {a+b x} (c+d x)^{3/2}} \, dx}{6 a c^2}\\ &=-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}}-\frac {7 (b c-a d) \sqrt {a+b x}}{12 c^2 x^2 \sqrt {c+d x}}-\frac {(3 b c-35 a d) (b c-a d) \sqrt {a+b x}}{24 a c^3 x \sqrt {c+d x}}-\frac {\int \frac {\frac {3}{8} a (b c-a d) \left (b^2 c^2+10 a b c d-35 a^2 d^2\right )+\frac {1}{4} a b d (3 b c-35 a d) (b c-a d) x}{x \sqrt {a+b x} (c+d x)^{3/2}} \, dx}{6 a^2 c^3}\\ &=-\frac {d \left (3 b^2 c^2-100 a b c d+105 a^2 d^2\right ) \sqrt {a+b x}}{24 a c^4 \sqrt {c+d x}}-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}}-\frac {7 (b c-a d) \sqrt {a+b x}}{12 c^2 x^2 \sqrt {c+d x}}-\frac {(3 b c-35 a d) (b c-a d) \sqrt {a+b x}}{24 a c^3 x \sqrt {c+d x}}+\frac {\int -\frac {3 a (b c-a d)^2 \left (b^2 c^2+10 a b c d-35 a^2 d^2\right )}{16 x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{3 a^2 c^4 (b c-a d)}\\ &=-\frac {d \left (3 b^2 c^2-100 a b c d+105 a^2 d^2\right ) \sqrt {a+b x}}{24 a c^4 \sqrt {c+d x}}-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}}-\frac {7 (b c-a d) \sqrt {a+b x}}{12 c^2 x^2 \sqrt {c+d x}}-\frac {(3 b c-35 a d) (b c-a d) \sqrt {a+b x}}{24 a c^3 x \sqrt {c+d x}}-\frac {\left ((b c-a d) \left (b^2 c^2+10 a b c d-35 a^2 d^2\right )\right ) \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{16 a c^4}\\ &=-\frac {d \left (3 b^2 c^2-100 a b c d+105 a^2 d^2\right ) \sqrt {a+b x}}{24 a c^4 \sqrt {c+d x}}-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}}-\frac {7 (b c-a d) \sqrt {a+b x}}{12 c^2 x^2 \sqrt {c+d x}}-\frac {(3 b c-35 a d) (b c-a d) \sqrt {a+b x}}{24 a c^3 x \sqrt {c+d x}}-\frac {\left ((b c-a d) \left (b^2 c^2+10 a b c d-35 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{-a+c x^2} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{8 a c^4}\\ &=-\frac {d \left (3 b^2 c^2-100 a b c d+105 a^2 d^2\right ) \sqrt {a+b x}}{24 a c^4 \sqrt {c+d x}}-\frac {a \sqrt {a+b x}}{3 c x^3 \sqrt {c+d x}}-\frac {7 (b c-a d) \sqrt {a+b x}}{12 c^2 x^2 \sqrt {c+d x}}-\frac {(3 b c-35 a d) (b c-a d) \sqrt {a+b x}}{24 a c^3 x \sqrt {c+d x}}+\frac {(b c-a d) \left (b^2 c^2+10 a b c d-35 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{8 a^{3/2} c^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 10.13, size = 188, normalized size = 0.78 \begin {gather*} -\frac {\sqrt {a+b x} \left (3 b^2 c^2 x^2 (c+d x)+2 a b c x \left (7 c^2-19 c d x-50 d^2 x^2\right )+a^2 \left (8 c^3-14 c^2 d x+35 c d^2 x^2+105 d^3 x^3\right )\right )}{24 a c^4 x^3 \sqrt {c+d x}}+\frac {\left (b^3 c^3+9 a b^2 c^2 d-45 a^2 b c d^2+35 a^3 d^3\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{8 a^{3/2} c^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(706\) vs.
\(2(202)=404\).
time = 0.07, size = 707, normalized size = 2.95
method | result | size |
default | \(\frac {\sqrt {b x +a}\, \left (105 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{3} d^{4} x^{4}-135 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{2} b c \,d^{3} x^{4}+27 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a \,b^{2} c^{2} d^{2} x^{4}+3 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) b^{3} c^{3} d \,x^{4}+105 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{3} c \,d^{3} x^{3}-135 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{2} b \,c^{2} d^{2} x^{3}+27 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a \,b^{2} c^{3} d \,x^{3}+3 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) b^{3} c^{4} x^{3}-210 a^{2} d^{3} x^{3} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+200 a b c \,d^{2} x^{3} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-6 b^{2} c^{2} d \,x^{3} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-70 a^{2} c \,d^{2} x^{2} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+76 a b \,c^{2} d \,x^{2} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-6 b^{2} c^{3} x^{2} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+28 a^{2} c^{2} d x \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-28 a b \,c^{3} x \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-16 a^{2} c^{3} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\right )}{48 a \,c^{4} \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, x^{3} \sqrt {a c}\, \sqrt {d x +c}}\) | \(707\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.82, size = 638, normalized size = 2.66 \begin {gather*} \left [\frac {3 \, {\left ({\left (b^{3} c^{3} d + 9 \, a b^{2} c^{2} d^{2} - 45 \, a^{2} b c d^{3} + 35 \, a^{3} d^{4}\right )} x^{4} + {\left (b^{3} c^{4} + 9 \, a b^{2} c^{3} d - 45 \, a^{2} b c^{2} d^{2} + 35 \, a^{3} c d^{3}\right )} x^{3}\right )} \sqrt {a c} \log \left (\frac {8 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} + 4 \, {\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {a c} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x}{x^{2}}\right ) - 4 \, {\left (8 \, a^{3} c^{4} + {\left (3 \, a b^{2} c^{3} d - 100 \, a^{2} b c^{2} d^{2} + 105 \, a^{3} c d^{3}\right )} x^{3} + {\left (3 \, a b^{2} c^{4} - 38 \, a^{2} b c^{3} d + 35 \, a^{3} c^{2} d^{2}\right )} x^{2} + 14 \, {\left (a^{2} b c^{4} - a^{3} c^{3} d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{96 \, {\left (a^{2} c^{5} d x^{4} + a^{2} c^{6} x^{3}\right )}}, -\frac {3 \, {\left ({\left (b^{3} c^{3} d + 9 \, a b^{2} c^{2} d^{2} - 45 \, a^{2} b c d^{3} + 35 \, a^{3} d^{4}\right )} x^{4} + {\left (b^{3} c^{4} + 9 \, a b^{2} c^{3} d - 45 \, a^{2} b c^{2} d^{2} + 35 \, a^{3} c d^{3}\right )} x^{3}\right )} \sqrt {-a c} \arctan \left (\frac {{\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {-a c} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (a b c d x^{2} + a^{2} c^{2} + {\left (a b c^{2} + a^{2} c d\right )} x\right )}}\right ) + 2 \, {\left (8 \, a^{3} c^{4} + {\left (3 \, a b^{2} c^{3} d - 100 \, a^{2} b c^{2} d^{2} + 105 \, a^{3} c d^{3}\right )} x^{3} + {\left (3 \, a b^{2} c^{4} - 38 \, a^{2} b c^{3} d + 35 \, a^{3} c^{2} d^{2}\right )} x^{2} + 14 \, {\left (a^{2} b c^{4} - a^{3} c^{3} d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{48 \, {\left (a^{2} c^{5} d x^{4} + a^{2} c^{6} x^{3}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 2195 vs.
\(2 (202) = 404\).
time = 9.82, size = 2195, normalized size = 9.15 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^{3/2}}{x^4\,{\left (c+d\,x\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________